package com.wwj.springboot.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wwj.springboot.entity.CmfzGuru;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CmfzGuruMapper extends BaseMapper<CmfzGuru> {

    int selectCounts(@Param("name") String userName);

    List<CmfzGuru> selectByPage(@Param("page") int page, @Param("limit") int limit, @Param("name") String  username);

    void uploadList(List<CmfzGuru> cmfzGurus);
}